package com.tienon.message.Test;

import java.util.List;

import javax.annotation.Resource;

import org.junit.Test;

import com.tienon.message.entity.Push_App;
import com.tienon.message.mq.GetTenAppMsgNeedReSend;

public class GetTenAppMsgNeedReSendTest extends UnitTestEnv{

	@Resource
	private GetTenAppMsgNeedReSend getReMsg;
	
	@Test
	public void test(){
		
		List<Push_App> list = getReMsg.getTenNeedReSendAppMsg();
		System.out.println(list.size());
		for(Push_App app : list){
			
			System.out.println(app.getSerial()+":"+app.getSplitId()+":"+app.getMsg()+":"+app.getPrior());
			
		}
		
	}
	
}
